import {
  get,
  post
} from '../index'
export default {
  // 获取版权列表
  getCopyrightList (querys) {
    return get('/agent/CopyRightAgent/list', querys)
  },
  // 获取版权表单信息回显
  getCopyrightFormInfo (querys) {
    return get('/agent/CopyRightAgent/get', querys)
  },
  // 添加版权表单信息
  addCopyrightFormInfo (querys) {
    return post('/agent/CopyRightAgent/create', querys)
  },
  // 删除版权信息
  delCopyrightInfo (querys) {
    return post('/agent/CopyRightAgent/destory', querys)
  },
  // 编辑版权表单
  editCopyrightFormInfo (querys) {
    return post('/agent/CopyRightAgent/update', querys)
  },
  // 获取所有的版权数据
  getAllCopyrightData () {
    return get('/agent/CopyRightAgent/getAll')
  }

}
